// import { ConnectedRouter } from "connected-react-router";
// import App from '../App';
import React from 'react';
// import { history } from '../redux/configStore';
// import loadable from '../utils/loadable';
import { HashRouter } from 'react-router-dom';
import renderRouter from '../utils/renderRouter';
import routes from './Routes.config';

// const history = createHashHistory();

const Routes = () => {

  //@ts-ignore
  return <HashRouter basename="support">{
    renderRouter(routes)
  }
  </HashRouter>
};




export default Routes;
